# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=py-genshi
_realname=Genshi
pkgver=0.7
pkgrel=0
pkgdesc="Python toolkit for stream-based generation of output for the web."
url="http://genshi.edgewall.org/"
arch="all"
license="BSD"
makedepends="py-setuptools python2-dev"
install=""
subpackages=""
source="http://ftp.edgewall.com/pub/genshi/$_realname-$pkgver.tar.gz"

_builddir="$srcdir"/$_realname-$pkgver
build() {
	cd "$_builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$_builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="54e64dd69da3ec961f86e686e0848a82  Genshi-0.7.tar.gz"
sha256sums="1d154402e68bc444a55bcac101f96cb4e59373100cc7a2da07fbf3e5cc5d7352  Genshi-0.7.tar.gz"
sha512sums="2d0042d4da4566725ddd80b73c5b7be09f479f5529e4aa69903edc2a98905ff6de42a0d5a6f02986d7962deb7740c4a3acf6955a8b77fdb42d3cf4ca037de6bf  Genshi-0.7.tar.gz"
